/**
 * 
 */
package com.haizhi.upload.component.strategy;

import com.haizhi.upload.component.Compressable;
import com.haizhi.upload.component.UpdateLoadFileStrategy;

/**
 * @author jiangjintai
 *
 */
public class PictureStrategy implements Compressable, UpdateLoadFileStrategy {
	private final String type = "bmp.jpg.tiff.gif.pcx.tga.exif.fpx.svg.psd.cdr.pcd.dxf.ufo.eps.ai.raw.png";
	private final String path = "picture";
	private final String pictureWidth = "1024";
	private final String pictureLength = "768";
	private final String changedPath = "changed";
	private final Long size = 10L;
	/* （非 Javadoc）
	 * @see com.haizhi.upload.component.UpdateLoadFileStrategy#type()
	 */
	@Override
	public String type() {
		// 
		return this.type;
	}

	/* （非 Javadoc）
	 * @see com.haizhi.upload.component.UpdateLoadFileStrategy#path()
	 */
	@Override
	public String path() {
		// 
		return path;
	}

	/* （非 Javadoc）
	 * @see com.haizhi.upload.component.UpdateLoadFileStrategy#size()
	 */
	@Override
	public Long size() {
		// 
		return size;
	}

	/* （非 Javadoc）
	 * @see com.haizhi.upload.component.Compressable#pictureWidth()
	 */
	@Override
	public String pictureWidth() {
		// 
		return pictureWidth;
	}

	/* （非 Javadoc）
	 * @see com.haizhi.upload.component.Compressable#pictureLength()
	 */
	@Override
	public String pictureLength() {
		// 
		return pictureLength;
	}

	/* （非 Javadoc）
	 * @see com.haizhi.upload.component.Compressable#changedPath()
	 */
	@Override
	public String changedPath() {
		// 
		return changedPath;
	}

}
